package cn.training.bean;

import cn.agriculture.common.validator.constraints.NotEmpty;

public class UserBean {
	@NotEmpty(field="ID",  message="{errors.required}")
	private String userId;
	@NotEmpty(field="用户名",  message="{errors.required}")
	private String userName;
	@NotEmpty(field="密码",  message="{errors.required}")
	private String userPassword;
	private String passwordConfirm;

	public String getPasswordConfirm() {
		return passwordConfirm;
	}

	public void setPasswordConfirm(String passwordConfirm) {
		this.passwordConfirm = passwordConfirm;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPassword() {
		return userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
}
